package com.tourlaid.mamagerment.service.impl

import com.tourlaid.mamagerment.mapper.StoreImageMapper
import com.tourlaid.mamagerment.service.StoreImageService
import org.springframework.stereotype.Service
import javax.annotation.Resource

/**
 * Created by Administrator on 2017/8/17.
 */
@Service("storeImageService")
class StoreImageServiceImpl : StoreImageService {

    @Resource
    val storeImageMapper: StoreImageMapper? = null

    override fun queryImages(storeId: Long, imageType: Int): List<String> {
        return storeImageMapper!!.queryImages(storeId, imageType)
    }
}